<template>
	<view>
		<view class="head">
			<view class="TA-img">
				<image src="../../static/img-6.png" mode="aspectFill"></image>
			</view>
			
			<view class="name">
				<text>李白</text>
				<view class="sex">
					<image src="../../static/index/man.png" mode=""></image>
					21
				</view>
				<view class="sex" style="background-color: #3D99F5;">
					<image src="../../static/index/man.png" mode=""></image>
					21
				</view>
			</view>
			<view class="brief-box">
				<text class="brief">白领 <text class="wire"></text> 167cm <text class="wire"></text> 11361km</text>
			</view>
		</view>
		
		<view class="item-each">
			<view class="item-info-box">
				<view class="item-img">
					<image src="../../static/img-6.png" mode="aspectFill"></image>
				</view>
				<view class="item-info">
					<view class="item-name">台球🎱</view>
					<view class="aggregate">总共已陪玩总计 <text>1</text> 小时</view>
					<view class="price">
						<text>25.00</text>
						/小时（1小时起约）
					</view>
				</view>
			</view>
		</view>
		
		<view class="evaluate">
			<view class="evaluate-title">
				<view class="">评价（2）</view>
				<view @click="toComment" class="more">查看更多 <u-icon name="arrow-right" size="12"></u-icon> </view>
			</view>
			
			<view class="evaluate-list-each" v-for="i in 2">
				<view class="comment">
					<image src="../../static/index/dy.png" mode="aspectFill"></image>
					<view class="comment-text">
						<view class="">瑶瑶</view>
						<view class="time">2022-08-21 03:19:00</view>
					</view>
				</view>
				<view class="content">
					服务非常好服务非常好服务非常好服务非常好服务非常好服务非常好
				</view>
			</view>
			
			<view style="height: 24rpx;width: 1rpx;"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			toComment(){
				console.log('.......')
				uni.navigateTo({
					url:'/pages/comment/comment'
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #F7F8FA;
	}
	.head {
		width: 100%;
		// height: 360rpx;
		background: linear-gradient(to bottom,#E5F6F2,#F5F7FA);
		
		.TA-img {
			width: 146rpx;
			height: 146rpx;
			border-radius: 50%;
			margin: auto;
			padding-top: 74rpx;
			image {
				width: 146rpx;
				height: 146rpx;
				border-radius: 50%;
			}
		}
		
		.name {
			display: flex;
			align-items: center;
			justify-content: center;
			margin-top: 24rpx;
			text {
				font-weight: 800;
				font-size: 36rpx;
				color: #1C274C;
			}
			.sex {
				display: inline-block;
				padding: 0 8rpx;
				height: 28rpx;
				margin-left: 8rpx;
				background: #FF648F;
				border-radius: 14rpx 14rpx 14rpx 14rpx;
				// font-weight: bold;
				font-size: 20rpx;
				color: #FFFFFF;
				line-height: 28rpx;
				image {
					width: 18rpx;
					height: 19rpx;
				}
			}
		}
		
		.brief-box {
			display: flex;
			justify-content: center;
			margin-top: 16rpx;
			.brief {
				font-weight: 500;
				font-size: 22rpx;
				color: #A4A9B7;
				margin-top: 8rpx;
				.wire {
					display: inline-block;
					margin: 0 16rpx;
					width: 2rpx;
					height: 17rpx;
					background-color: #EDEEF1;
				}
			}
		}
	}
	
	.item-each {
		width: 638rpx;
		// height: 200rpx;
		background: #FFFFFF;
		border-radius: 24rpx 24rpx 24rpx 24rpx;
		margin: auto;
		margin-top: 24rpx;
		padding: 24rpx;
		.item-info-box {
			display: flex;
			align-items: center;
			.item-img {
				width: 152rpx;
				height: 152rpx;
				border-radius: 24rpx 24rpx 24rpx 24rpx;
				image {
					width: 152rpx;
					height: 152rpx;
					border-radius: 24rpx 24rpx 24rpx 24rpx;
				}
			}
			.item-info {
				margin-left: 24rpx;
				.item-name {
					font-weight: bold;
					font-size: 28rpx;
					color: #1C274C;
				}
				.aggregate {
					font-weight: 500;
					font-size: 22rpx;
					color: #6B738B;
					margin-top: 10rpx;
					text {
						color: #4BC264;
					}
				}
				.price {
					font-weight: 500;
					font-size: 24rpx;
					color: #A4A9B7;
					margin-top: 16rpx;
					text {
						font-weight: bold;
						font-size: 34rpx;
						color: #FF7B18;
					}
				}
			}
		}
	}
	
	.evaluate {
		width: 750rpx;
		// height: 152rpx;
		background: #FFFFFF;
		border-radius: 40rpx 40rpx 0rpx 0rpx;
		margin-top: 40rpx;
		
		.evaluate-title {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 40rpx 32rpx 0 32rpx;
			font-weight: bold;
			font-size: 30rpx;
			color: #1C274C;
			.more {
				font-weight: 500;
				font-size: 22rpx;
				color: #A4A9B7;
				display: flex;
			}
		}
		
		.evaluate-list-each {
			width: 622rpx;
			background: #F7F8FA;
			border-radius: 24rpx 24rpx 24rpx 24rpx;
			margin: auto;
			padding: 32rpx;
			margin-top: 24rpx;
			.comment {
				display: flex;
				align-items: center;
				image {
					width: 66rpx;
					height: 66rpx;
					border-radius: 50%;
				}
				.comment-text {
					font-weight: 500;
					font-size: 26rpx;
					color: #1C274C;
					margin-left: 24rpx;
					.time {
						font-weight: 500;
						font-size: 22rpx;
						color: #A4A9B7;
						margin-top: 8rpx;
					}
				}
			}
			.content {
				font-weight: 500;
				font-size: 26rpx;
				color: #1C274C;
				line-height: 40rpx;
				margin-top: 32rpx;
			}
		}
	}
</style>
